package cn.mogugo.comm.quartz;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class TaskTest {
	public static void main(String[] args){
		System.out.println("Test start."); 
		ApplicationContext context = new FileSystemXmlApplicationContext("file:D:/myobject/mogugo/mogugo/WebContent/WEB-INF/applicationContextQuartz.xml"); 
		//如果配置文件中将startQuertz bean的lazy-init设置为false 则不用实例化
		context.getBean("startQuertz"); 
		System.out.print("Test end..");
		
		

	}
	
	
	
}
